package database

import "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common"

type CloudDatabaseInterface interface {
	CDBGreeter
	RedisGreeter
}

type Database struct {
	credential *common.Credential
}

func NewDatabase(credential *common.Credential) CloudDatabaseInterface {
	return &Database{
		credential: credential,
	}
}

func (d *Database) CDB(region string) CDBInterface {
	return newCDB(d, region)
}

func (d *Database) Redis(region string) RedisInterface {
	return newRedis(d, region)
}

func (d *Database) MongoDB(region string) {

}

func (d *Database) PostgresSQL(region string) {

}
